package net.fxug.hokuriku.chocolat.events
{
    import flash.events.Event;
    
    import net.fxug.hokuriku.chocolat.model.networkInterface.data.NetworkInterfaceData;
    
    public class SocketEvent extends Event
    {
        public static const SERVER_CONNECT_SUCCESS:String = "SERVER_CONNECT_SUCCESS";
        public static const SERVER_CONNECT_CLOSE:String = "SERVER_CONNECT_CLOSE";
        public static const SERVER_CONNECT_FAILED:String = "SERVER_CONNECT_FAILED";
        
        public var networkData:NetworkInterfaceData; //接続にトライしたアドレス
        
        public function SocketEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
        {
            super(type, bubbles, cancelable);
        }
    }
}